package com.init.iblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.init.iblog.domain.ResponseResult;
import com.init.iblog.domain.dto.UserDto;
import com.init.iblog.domain.entity.User;
import com.init.iblog.domain.vo.PageVo;

import java.util.List;


/**
 * (User)表服务接口
 *
 * @author makejava
 * @since 2023-02-23 20:37:30
 */
public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult<PageVo> getUserList(Integer pageNum, Integer pageSize, UserDto userDto);

    ResponseResult addUser(User user);

    ResponseResult resetUserPwd(String passward);

    ResponseResult deleteUser(List<Long> id);

    ResponseResult updateUser(User user);

    ResponseResult changeUserStatus(Long id, String status);
}

